package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 咨询对象 consult
 * 
 * @author ruoyi
 * @date 2021-09-28
 */
public class Consult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long conId;

    /** 企业编号 */
    @Excel(name = "企业编号")
    private Long conComNo;

    /** 咨询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "咨询时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date conTime;

    /** 咨询内容 */
    @Excel(name = "咨询内容")
    private String conMatter;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date conRepTime;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String conRepMatter;

    /** 删除标识 0 正常 2 删除 */
    private String conDel;

    public void setConId(Long conId) 
    {
        this.conId = conId;
    }

    public Long getConId() 
    {
        return conId;
    }
    public void setConComNo(Long conComNo) 
    {
        this.conComNo = conComNo;
    }

    public Long getConComNo() 
    {
        return conComNo;
    }
    public void setConTime(Date conTime) 
    {
        this.conTime = conTime;
    }

    public Date getConTime() 
    {
        return conTime;
    }
    public void setConMatter(String conMatter) 
    {
        this.conMatter = conMatter;
    }

    public String getConMatter() 
    {
        return conMatter;
    }
    public void setConRepTime(Date conRepTime) 
    {
        this.conRepTime = conRepTime;
    }

    public Date getConRepTime() 
    {
        return conRepTime;
    }
    public void setConRepMatter(String conRepMatter) 
    {
        this.conRepMatter = conRepMatter;
    }

    public String getConRepMatter() 
    {
        return conRepMatter;
    }
    public void setConDel(String conDel) 
    {
        this.conDel = conDel;
    }

    public String getConDel() 
    {
        return conDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("conId", getConId())
            .append("conComNo", getConComNo())
            .append("conTime", getConTime())
            .append("conMatter", getConMatter())
            .append("conRepTime", getConRepTime())
            .append("conRepMatter", getConRepMatter())
            .append("conDel", getConDel())
            .toString();
    }
}
